package com.example.lab.service;

import com.example.lab.entity.Colleges;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.lab.result.PageResult;

/**
 * <p>
 * 学院信息表 服务类
 * </p>
 *
 * @author 布莱恩
 * @since 2025-06-17
 */
public interface ICollegesService extends IService<Colleges> {

    PageResult<Colleges> getColleges(Integer page, Integer limit);

    Colleges getCollegeById(Integer collegeId);

    boolean createCollege(Colleges college);

    boolean updateCollege(Integer collegeId, Colleges college);

    boolean deleteCollege(Integer collegeId);

}
